package com.cgc.venus.server.user.bean;

import java.util.Date;

/**
 * Created by xyr on 2017/9/4.
 * 数据user表对应的实体类s
 */
public class UserBean {

    /* 主键ID*/
    private String id;

    /* 登录账号*/
    private String loginName;

    /* 登录密码*/
    private String loginPassword;

    /* 真实名字*/
    private String name;

    /* 性别*/
    private int sex;

    /* 电话*/
    private String phone;

    /* 邮件*/
    private String email;

    /* 角色ID*/
    private String role;

    /* 登录标识符*/
    private String token;

    /* 登录时间*/
    private String loginTime;

    /* session有效时间*/
    private int sessionExpireTime;

    /* 创建时间*/
    private String createTime;

    /* 最后更新时间*/
    private String lastUpdateTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public int getSessionExpireTime() {
        return sessionExpireTime;
    }

    public void setSessionExpireTime(int sessionExpireTime) {
        this.sessionExpireTime = sessionExpireTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(String lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
